package com.personnalManagerSystem.model;

import com.baomidou.mybatisplus.annotation.IdType;

import java.math.BigDecimal;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author liqing
 * @since 2022-03-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Wage implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 工资id
     */
    @TableId(value = "wage_id", type = IdType.AUTO)
    private Integer wageId;

    /**
     * 考勤id
     */
    private Integer attendId;

    /**
     * 请假id
     */
    private Integer leaveId;

    /**
     * 工资详情id
     */
    private Integer wageInfoId;

    /**
     * 员工id
     */
    private Integer userId;



    /**
     * 基本工资
     */
    private BigDecimal basicPay;

    /**
     * 扣款工资
     */
    private BigDecimal deductMoney;

    /**
     * 总工资
     */
    private BigDecimal totalSalary;

    /**
     * 提成工资
     */
    private BigDecimal commission;
    /**
     * 备注
     */
    private String comment;

    /**
     * 工资记录日期
     */
    private LocalDate wageDate;
    /**
     * 工资记录月份
     */
    private  Integer wageMonth;
    /**
     * 工资记录日
     */
    private Integer wageDay;
    /**
     * 工资发放状态
     */
    private String state;



}
